package org.jeecg.modules.gyy.gyycomment.service;

import org.jeecg.modules.gyy.gyycomment.entity.GyyReply;
import org.jeecg.modules.gyy.gyycomment.entity.GyyComment;
import com.baomidou.mybatisplus.extension.service.IService;
import java.io.Serializable;
import java.util.Collection;
import java.util.List;

/**
 * @Description: 评论表
 * @Author: jeecg-boot
 * @Date:   2025-05-25
 * @Version: V1.0
 */
public interface IGyyCommentService extends IService<GyyComment> {

	/**
	 * 添加一对多
	 *
	 * @param gyyComment
	 * @param gyyReplyList
	 */
	public void saveMain(GyyComment gyyComment,List<GyyReply> gyyReplyList) ;

	/**
	 * 修改一对多
	 *
   * @param gyyComment
   * @param gyyReplyList
	 */
	public void updateMain(GyyComment gyyComment,List<GyyReply> gyyReplyList);

	/**
	 * 删除一对多
	 *
	 * @param id
	 */
	public void delMain (String id);

	/**
	 * 批量删除一对多
	 *
	 * @param idList
	 */
	public void delBatchMain (Collection<? extends Serializable> idList);

}
